bng-test/usr/local/etc/raddb# cat users
000c.29eb.eb96          Cleartext-Password := "123"
                        ERX-Service-Activate:1 += "RATE-LIMIT(1000000)"

000c.297c.ea3f          Cleartext-Password := "123"
                        ERX-Service-Activate:1 += "RATE-LIMIT(1000000)"

# user1                 Cleartext-Password := "pass1"
# spirent0              Cleartext-Password := "spirent0"
# spirent1              Cleartext-Password := "spirent1"

===

rad_recv: Access-Request packet from host 192.168.3.74 port 53233, id=202, length=241
        User-Name = "000c.29eb.eb96"
        User-Password = "123"
        Service-Type = Framed-User
        Chargeable-User-Identity = ""
        Acct-Session-Id = "78"
        Calling-Station-Id = "MX104-RE0:xe-0/0/0.1073741866:11"
        ERX-Dhcp-Options = 0x3501013204c0a800650c09667265656273642d343707011c02030f060c
        ERX-Dhcp-Mac-Addr = "000c.29eb.eb96"
        Framed-IP-Address = 192.168.0.101
        ERX-Interface-Desc = "-- L2 access network"
        NAS-Identifier = "MX104-RE0"
        NAS-Port = 11
        NAS-Port-Id = "xe-0/0/0.1073741866:11"
        NAS-Port-Type = Ethernet
# Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default
+group authorize {
++[preprocess] = ok
++[chap] = noop
++[mschap] = noop
++[digest] = noop
[suffix] No '@' in User-Name = "000c.29eb.eb96", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] = noop
[eap] No EAP-Message, not doing EAP
++[eap] = noop
[files] users: Matched entry 000c.29eb.eb96 at line 1
++[files] = ok
++[expiration] = noop
++[logintime] = noop
++[pap] = updated
+} # group authorize = updated
Found Auth-Type = PAP
# Executing group from file /usr/local/etc/raddb/sites-enabled/default
+group PAP {
[pap] login attempt with password "123"
[pap] Using clear text password "123"
[pap] User authenticated successfully
++[pap] = ok
+} # group PAP = ok
Login OK: [000c.29eb.eb96/123] (from client mx104-RE0 port 11 cli MX104-RE0:xe-0/0/0.1073741866:11)
# Executing section post-auth from file /usr/local/etc/raddb/sites-enabled/default
+group post-auth {
++[exec] = noop
+} # group post-auth = noop
Sending Access-Accept of id 202 to 192.168.3.74 port 53233
        ERX-Service-Activate:1 += "RATE-LIMIT(1000000)"
Finished request 16.
Going to the next request
Waking up in 4.9 seconds.
rad_recv: Accounting-Request packet from host 192.168.3.74 port 53233, id=203, length=279
        User-Name = "000c.29eb.eb96"
        Acct-Status-Type = Start
        Acct-Session-Id = "78"
        Service-Type = Framed-User
        ERX-Attr-177 = 0x506f72742053706565643a2031303030303030306b
        Acct-Authentic = RADIUS
        Acct-Delay-Time = 0
        Calling-Station-Id = "MX104-RE0:xe-0/0/0.1073741866:11"
        ERX-Dhcp-Options = 0x3501013204c0a800650c09667265656273642d343707011c02030f060c
        ERX-Dhcp-Mac-Addr = "000c.29eb.eb96"
        Event-Timestamp = "Oct 17 2014 07:12:11 UTC"
        Framed-IP-Address = 192.168.0.101
        Framed-IP-Netmask = 255.255.255.0
        ERX-Interface-Desc = "-- L2 access network"
        NAS-Identifier = "MX104-RE0"
        NAS-Port = 11
        NAS-Port-Id = "xe-0/0/0.1073741866:11"
        NAS-Port-Type = Ethernet
# Executing section preacct from file /usr/local/etc/raddb/sites-enabled/default
+group preacct {
++[preprocess] = ok
[acct_unique] Hashing 'NAS-Port = 11,NAS-Identifier = "MX104-RE0",NAS-IP-Address = 192.168.3.74,Acct-Session-Id = "78",User-Name = "000c.29eb.eb96"'
[acct_unique] Acct-Unique-Session-ID = "928a10536b51975c".
++[acct_unique] = ok
[suffix] No '@' in User-Name = "000c.29eb.eb96", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] = noop
++[files] = noop
+} # group preacct = ok
# Executing section accounting from file /usr/local/etc/raddb/sites-enabled/default
+group accounting {
[detail]        expand: %{Packet-Src-IP-Address} -> 192.168.3.74
[detail]        expand: /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d -> /var/log/radacct/192.168.3.74/detail-20141017
[detail] /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/radacct/192.168.3.74/detail-20141017
[detail]        expand: %t -> Fri Oct 17 11:31:11 2014
++[detail] = ok
++[exec] = noop
[attr_filter.accounting_response]       expand: %{User-Name} -> 000c.29eb.eb96
attr_filter: Matched entry DEFAULT at line 12
++[attr_filter.accounting_response] = updated
+} # group accounting = updated
Sending Accounting-Response of id 203 to 192.168.3.74 port 53233
Finished request 17.
Cleaning up request 17 ID 203 with timestamp +1918
Going to the next request
Waking up in 4.5 seconds.
rad_recv: Accounting-Request packet from host 192.168.3.74 port 53233, id=204, length=417
        User-Name = "000c.29eb.eb96"
        Acct-Status-Type = Interim-Update
        Acct-Session-Id = "78"
        Acct-Input-Octets = 0
        Acct-Output-Octets = 0
        Acct-Session-Time = 0
        Acct-Input-Packets = 0
        Acct-Output-Packets = 0
        Service-Type = Framed-User
        ERX-Attr-177 = 0x506f72742053706565643a2031303030303030306b
        Acct-Authentic = RADIUS
        Acct-Delay-Time = 0
        Calling-Station-Id = "MX104-RE0:xe-0/0/0.1073741866:11"
        ERX-Dhcp-Options = 0x3501013204c0a800650c09667265656273642d343707011c02030f060c
        ERX-Dhcp-Mac-Addr = "000c.29eb.eb96"
        Event-Timestamp = "Oct 17 2014 07:12:11 UTC"
        Framed-IP-Address = 192.168.0.101
        Framed-IP-Netmask = 255.255.255.0
        ERX-Input-Gigapkts = 0
        Acct-Input-Gigawords = 0
        ERX-Interface-Desc = "-- L2 access network"
        NAS-Identifier = "MX104-RE0"
        NAS-Port = 11
        NAS-Port-Id = "xe-0/0/0.1073741866:11"
        NAS-Port-Type = Ethernet
        ERX-Output-Gigapkts = 0
        Acct-Output-Gigawords = 0
        ERX-IPv6-Acct-Input-Octets = 0
        ERX-IPv6-Acct-Output-Octets = 0
        ERX-IPv6-Acct-Input-Packets = 0
        ERX-IPv6-Acct-Output-Packets = 0
        ERX-IPv6-Acct-Input-Gigawords = 0
        ERX-IPv6-Acct-Output-Gigawords = 0
# Executing section preacct from file /usr/local/etc/raddb/sites-enabled/default
+group preacct {
++[preprocess] = ok
[acct_unique] Hashing 'NAS-Port = 11,NAS-Identifier = "MX104-RE0",NAS-IP-Address = 192.168.3.74,Acct-Session-Id = "78",User-Name = "000c.29eb.eb96"'
[acct_unique] Acct-Unique-Session-ID = "928a10536b51975c".
++[acct_unique] = ok
[suffix] No '@' in User-Name = "000c.29eb.eb96", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] = noop
++[files] = noop
+} # group preacct = ok
# Executing section accounting from file /usr/local/etc/raddb/sites-enabled/default
+group accounting {
[detail]        expand: %{Packet-Src-IP-Address} -> 192.168.3.74
[detail]        expand: /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d -> /var/log/radacct/192.168.3.74/detail-20141017
[detail] /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/radacct/192.168.3.74/detail-20141017
[detail]        expand: %t -> Fri Oct 17 11:31:12 2014
++[detail] = ok
++[exec] = noop
[attr_filter.accounting_response]       expand: %{User-Name} -> 000c.29eb.eb96
attr_filter: Matched entry DEFAULT at line 12
++[attr_filter.accounting_response] = updated
+} # group accounting = updated
Sending Accounting-Response of id 204 to 192.168.3.74 port 53233
Finished request 18.
Cleaning up request 18 ID 204 with timestamp +1919
Going to the next request
Waking up in 4.0 seconds.
Cleaning up request 16 ID 202 with timestamp +1918
Ready to process requests.
rad_recv: Access-Request packet from host 192.168.3.74 port 53233, id=205, length=241
        User-Name = "000c.297c.ea3f"
        User-Password = "123"
        Service-Type = Framed-User
        Chargeable-User-Identity = ""
        Acct-Session-Id = "80"
        Calling-Station-Id = "MX104-RE0:xe-0/0/0.1073741866:11"
        ERX-Dhcp-Options = 0x3501013204c0a800660c09667265656273642d353707011c02030f060c
        ERX-Dhcp-Mac-Addr = "000c.297c.ea3f"
        Framed-IP-Address = 192.168.0.102
        ERX-Interface-Desc = "-- L2 access network"
        NAS-Identifier = "MX104-RE0"
        NAS-Port = 11
        NAS-Port-Id = "xe-0/0/0.1073741866:11"
        NAS-Port-Type = Ethernet
# Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default
+group authorize {
++[preprocess] = ok
++[chap] = noop
++[mschap] = noop
++[digest] = noop
[suffix] No '@' in User-Name = "000c.297c.ea3f", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] = noop
[eap] No EAP-Message, not doing EAP
++[eap] = noop
[files] users: Matched entry 000c.297c.ea3f at line 4
++[files] = ok
++[expiration] = noop
++[logintime] = noop
++[pap] = updated
+} # group authorize = updated
Found Auth-Type = PAP
# Executing group from file /usr/local/etc/raddb/sites-enabled/default
+group PAP {
[pap] login attempt with password "123"
[pap] Using clear text password "123"
[pap] User authenticated successfully
++[pap] = ok
+} # group PAP = ok
Login OK: [000c.297c.ea3f/123] (from client mx104-RE0 port 11 cli MX104-RE0:xe-0/0/0.1073741866:11)
# Executing section post-auth from file /usr/local/etc/raddb/sites-enabled/default
+group post-auth {
++[exec] = noop
+} # group post-auth = noop
Sending Access-Accept of id 205 to 192.168.3.74 port 53233
        ERX-Service-Activate:1 += "RATE-LIMIT(1000000)"
Finished request 19.
Going to the next request
Waking up in 4.9 seconds.
rad_recv: Accounting-Request packet from host 192.168.3.74 port 53233, id=206, length=279
        User-Name = "000c.297c.ea3f"
        Acct-Status-Type = Start
        Acct-Session-Id = "80"
        Service-Type = Framed-User
        ERX-Attr-177 = 0x506f72742053706565643a2031303030303030306b
        Acct-Authentic = RADIUS
        Acct-Delay-Time = 0
        Calling-Station-Id = "MX104-RE0:xe-0/0/0.1073741866:11"
        ERX-Dhcp-Options = 0x3501013204c0a800660c09667265656273642d353707011c02030f060c
        ERX-Dhcp-Mac-Addr = "000c.297c.ea3f"
        Event-Timestamp = "Oct 17 2014 07:12:20 UTC"
        Framed-IP-Address = 192.168.0.102
        Framed-IP-Netmask = 255.255.255.0
        ERX-Interface-Desc = "-- L2 access network"
        NAS-Identifier = "MX104-RE0"
        NAS-Port = 11
        NAS-Port-Id = "xe-0/0/0.1073741866:11"
        NAS-Port-Type = Ethernet
# Executing section preacct from file /usr/local/etc/raddb/sites-enabled/default
+group preacct {
++[preprocess] = ok
[acct_unique] Hashing 'NAS-Port = 11,NAS-Identifier = "MX104-RE0",NAS-IP-Address = 192.168.3.74,Acct-Session-Id = "80",User-Name = "000c.297c.ea3f"'
[acct_unique] Acct-Unique-Session-ID = "7b117f851bf3e540".
++[acct_unique] = ok
[suffix] No '@' in User-Name = "000c.297c.ea3f", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] = noop
++[files] = noop
+} # group preacct = ok
# Executing section accounting from file /usr/local/etc/raddb/sites-enabled/default
+group accounting {
[detail]        expand: %{Packet-Src-IP-Address} -> 192.168.3.74
[detail]        expand: /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d -> /var/log/radacct/192.168.3.74/detail-20141017
[detail] /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/radacct/192.168.3.74/detail-20141017
[detail]        expand: %t -> Fri Oct 17 11:31:21 2014
++[detail] = ok
++[exec] = noop
[attr_filter.accounting_response]       expand: %{User-Name} -> 000c.297c.ea3f
attr_filter: Matched entry DEFAULT at line 12
++[attr_filter.accounting_response] = updated
+} # group accounting = updated
Sending Accounting-Response of id 206 to 192.168.3.74 port 53233
Finished request 20.
Cleaning up request 20 ID 206 with timestamp +1928
Going to the next request
Waking up in 4.6 seconds.
rad_recv: Accounting-Request packet from host 192.168.3.74 port 53233, id=207, length=417
        User-Name = "000c.297c.ea3f"
        Acct-Status-Type = Interim-Update
        Acct-Session-Id = "80"
        Acct-Input-Octets = 0
        Acct-Output-Octets = 0
        Acct-Session-Time = 1
        Acct-Input-Packets = 0
        Acct-Output-Packets = 0
        Service-Type = Framed-User
        ERX-Attr-177 = 0x506f72742053706565643a2031303030303030306b
        Acct-Authentic = RADIUS
        Acct-Delay-Time = 0
        Calling-Station-Id = "MX104-RE0:xe-0/0/0.1073741866:11"
        ERX-Dhcp-Options = 0x3501013204c0a800660c09667265656273642d353707011c02030f060c
        ERX-Dhcp-Mac-Addr = "000c.297c.ea3f"
        Event-Timestamp = "Oct 17 2014 07:12:21 UTC"
        Framed-IP-Address = 192.168.0.102
        Framed-IP-Netmask = 255.255.255.0
        ERX-Input-Gigapkts = 0
        Acct-Input-Gigawords = 0
        ERX-Interface-Desc = "-- L2 access network"
        NAS-Identifier = "MX104-RE0"
        NAS-Port = 11
        NAS-Port-Id = "xe-0/0/0.1073741866:11"
        NAS-Port-Type = Ethernet
        ERX-Output-Gigapkts = 0
        Acct-Output-Gigawords = 0
        ERX-IPv6-Acct-Input-Octets = 0
        ERX-IPv6-Acct-Output-Octets = 0
        ERX-IPv6-Acct-Input-Packets = 0
        ERX-IPv6-Acct-Output-Packets = 0
        ERX-IPv6-Acct-Input-Gigawords = 0
        ERX-IPv6-Acct-Output-Gigawords = 0
# Executing section preacct from file /usr/local/etc/raddb/sites-enabled/default
+group preacct {
++[preprocess] = ok
[acct_unique] Hashing 'NAS-Port = 11,NAS-Identifier = "MX104-RE0",NAS-IP-Address = 192.168.3.74,Acct-Session-Id = "80",User-Name = "000c.297c.ea3f"'
[acct_unique] Acct-Unique-Session-ID = "7b117f851bf3e540".
++[acct_unique] = ok
[suffix] No '@' in User-Name = "000c.297c.ea3f", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] = noop
++[files] = noop
+} # group preacct = ok
# Executing section accounting from file /usr/local/etc/raddb/sites-enabled/default
+group accounting {
[detail]        expand: %{Packet-Src-IP-Address} -> 192.168.3.74
[detail]        expand: /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d -> /var/log/radacct/192.168.3.74/detail-20141017
[detail] /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/radacct/192.168.3.74/detail-20141017
[detail]        expand: %t -> Fri Oct 17 11:31:21 2014
++[detail] = ok
++[exec] = noop
[attr_filter.accounting_response]       expand: %{User-Name} -> 000c.297c.ea3f
attr_filter: Matched entry DEFAULT at line 12
++[attr_filter.accounting_response] = updated
+} # group accounting = updated
Sending Accounting-Response of id 207 to 192.168.3.74 port 53233
Finished request 21.
Cleaning up request 21 ID 207 with timestamp +1928
Going to the next request
Waking up in 4.0 seconds.
Cleaning up request 19 ID 205 with timestamp +1927
Ready to process requests.
